<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/12/17/017
 * Time: 11:51
 */

namespace app\api\validate;


use think\Validate;

class LiuyanValidate extends Validate
{
    protected $rule = [
        'country'    => 'require',
        'province' => 'require',
        'city' => 'require',
        'name'   => 'require',
        'mobile'   => 'require',
        'content'   => 'require',
    ];
    protected $message = [
        'country.require'    => '国家不能为空!',
        'province.require' => '省份不能为空!',
        'city.require' => '城市不能为空!',
        'name.require'   => '姓名不能为空!',
        'mobile.require'  => '手机号码不正确!',
        'content.require'  => '内容不能为空!'
    ];
}